<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">


<head>
    <title>4.编辑模版 - 在模版中添加盖章位置</title>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
</head>
<body>
    <script type="text/javascript">
        function OnPageOfficeCtrlInit(){
            pageofficectrl.AddCustomToolButton("保存", "Save()", 1);
            pageofficectrl.AddCustomToolButton("添加印章位置", "InsertSealPos()", 2);
        }

        function Save() {
            //设置保存方法
            pageofficectrl.SaveFilePage="/InsertSeal/Word/AddSeal/save"
            pageofficectrl.WebSave();
        }

        function InsertSealPos() {
            try {
                pageofficectrl.zoomseal.AddSealPosition();
            } catch (e) {
            }
        }
    </script>

    <div style="width: auto; height: 700px;" th:utext="${pageoffice}">
    </div>
</body>


</html>
